package com.rogo.mini.component
{
	import com.rogo.mini.core.VisualElement;
	import com.rogo.mini.core.Metro;
	
	/**
	 * COCO Button UI
	 * 
	 * @author Rogo
	 */	
	public class Button extends VisualElement
	{
		public function Button()
		{
			super();
		}
		
		override protected function updateElement():void
		{
			super.updateElement();
		}
		
		override protected function updateDisplayList():void
		{
			super.updateDisplayList();
			
			graphics.beginFill(Metro.RED);
			graphics.drawRect(0, 0, width, height);
			graphics.endFill();
		}
		
	}
}